
<ion-view view-title="优惠卷">
  <ion-nav-buttons side="left">
    <a class="button button-icon icon ion-ios-arrow-left" href="#/tab/home">
    </a>
  </ion-nav-buttons>
  <ion-nav-buttons side="right" >
    <a class="button link"  ng-click="goAddCoupon()">
      +添加券
    </a>
  </ion-nav-buttons>
  <ion-content class="shadowBackground" style="padding: 0.5rem">
    <div style="background: white;padding: 0;margin-bottom: 0.75rem" class="row" ng-repeat="item in couponData">
      <div class="col col-20">
        <img ng-src="{{item.logo}}" style="margin: 10%">
      </div>
      <div class="col col-50" >
        <h4 ng-bind="item.name"></h4>
        <h6>使用期限<span ng-bind="item.begin_time"></span>-<span ng-bind="item.end_time"></span></h6>
      </div>
      <div class="col hasCoupon" style="padding: 0">
      </div>
    </div>
    <div style="margin: 0.75rem  0;text-align: center;position: relative">
      <h4 style="height: 0.05rem;width: 100%;background-color: grey;position: absolute;z-index: -1"></h4>
      <h4 style="margin: 0 35%;background-color: #eee;font-size: 0.5rem" >
        已失效的券
      </h4>
    </div>
    <div style="background: white;padding: 0;margin-bottom: 0.75rem" class="row" ng-repeat="item in couponOldData">
      <div class="col col-20">
        <img ng-src="{{item.logo}}" style="margin: 10%">
      </div>
      <div class="col col-50" >
        <h4 ng-bind="item.name"></h4>
        <span>使用期限<span ng-bind="item.begin_time"></span>-<span ng-bind="item.end_time"></span></span>
      </div>
      <div class="col noCoupon" style="padding: 0">
      </div>
    </div>
    <div style="background: white;padding: 0;margin-bottom: 0.75rem" class="row" ng-repeat="item in couponOldData">
      <div class="col col-20">
        <img ng-src="{{item.logo}}" style="margin: 10%">
      </div>
      <div class="col col-50" >
        <h4 ng-bind="item.name"></h4>
        <span>使用期限<span ng-bind="item.begin_time"></span>-<span ng-bind="item.end_time"></span></span>
      </div>
      <div class="col noCoupon" style="padding: 0">
      </div>
    </div>
    <div style="background: white;padding: 0;margin-bottom: 0.75rem" class="row" ng-repeat="item in couponOldData">
      <div class="col col-20">
        <img ng-src="{{item.logo}}" style="margin: 10%">
      </div>
      <div class="col col-50" >
        <h4 ng-bind="item.name"></h4>
        <span>使用期限<span ng-bind="item.begin_time"></span>-<span ng-bind="item.end_time"></span></span>
      </div>
      <div class="col noCoupon" style="padding: 0">
      </div>
    </div>
    <div style="background: white;padding: 0;margin-bottom: 0.75rem" class="row" ng-repeat="item in couponOldData">
      <div class="col col-20">
        <img ng-src="{{item.logo}}" style="margin: 10%">
      </div>
      <div class="col col-50" >
        <h4 ng-bind="item.name"></h4>
        <span>使用期限<span ng-bind="item.begin_time"></span>-<span ng-bind="item.end_time"></span></span>
      </div>
      <div class="col noCoupon" style="padding: 0">
      </div>
    </div>
    <div style="background: white;padding: 0;margin-bottom: 0.75rem" class="row" ng-repeat="item in couponOldData">
      <div class="col col-20">
        <img ng-src="{{item.logo}}" style="margin: 10%">
      </div>
      <div class="col col-50" >
        <h4 ng-bind="item.name"></h4>
        <span>使用期限<span ng-bind="item.begin_time"></span>-<span ng-bind="item.end_time"></span></span>
      </div>
      <div class="col noCoupon" style="padding: 0">
      </div>
    </div>
  </ion-content>

</ion-view>
